how to change navbar color on scroll react